package com.huat.mapper;

import com.huat.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserMapper {
     List<User> findAllUser();

     User findUser(String email);

     void deleteUser(String userId);

     void updateUser(User user);

     void addUser(User user);
}
